//MAP
//This class is responsible for storing the map with +/- coordinates

#include <deque>
#include "nav_msgs/OccupancyGrid.h"

class MapCol {
	
	public:
	
	std::deque<int> data;
	int offset;
	
	int& operator [](int y);
	
	int get(int y);
	
	MapCol();
};

class Map {
	
	public:
	
	std::deque<MapCol> data;
	int offset;
	
	MapCol& operator [](int x);
	
	MapCol& get(int x);
	
	void generateMap(nav_msgs::OccupancyGrid& target);
	
	Map();
};
